package com.mate.cloud.auth.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("role_user")
public class RoleUser extends Model<RoleUser> {

    @Serial
    private static final long serialVersionUID = 8250252205826994483L;
    /**
     * 用户编号
     */
    private Integer uid;
    /**
     * 角色编号
     */
    private Integer rid;
}
